/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.toools.gwt.wmc.server.dao;

import java.util.Collection;
import org.toools.gwt.wmc.jpa.Disposer;

/**
 *
 * @author roman schoenbichler
 */
public interface IDisposerDAO {
    Disposer getDisposerByID( Integer id );
    Boolean belongsTo( Integer id, Integer accountid );

    Collection<Disposer> getDisposers();
    Collection<Disposer> getDisposers( Integer accountid );

    Disposer create( Disposer d );
    Boolean update( Disposer d );
    Boolean delete( Disposer d );
}
